package com.sgb.kjwl.model.entity;

import com.contrarywind.interfaces.IPickerViewData;
import com.google.gson.annotations.SerializedName;

/**
 * 省份、自治区、直辖市实体
 */
public class ProvinceEntity<T>  implements IPickerViewData {
    @SerializedName("id")
    private int id;
    @SerializedName("areaName")
    private String areaName;
    @SerializedName("level")
    private int level;
    @SerializedName("checked")
    private boolean checked;
    @SerializedName("shortName")
    private String shortName;

    private double latitude;
    private double longititude;

    public double getLatitude() {
        return latitude;
    }

    public void setLatitude(double latitude) {
        this.latitude = latitude;
    }

    public double getLongititude() {
        return longititude;
    }

    public void setLongititude(double longititude) {
        this.longititude = longititude;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public boolean isChecked() {
        return checked;
    }

    public void setChecked(boolean checked) {
        this.checked = checked;
    }

    public String getShortName() {
        return shortName;
    }

    public void setShortName(String shortName) {
        this.shortName = shortName;
    }

    @Override
    public String getPickerViewText() {
        return areaName;
    }
}
